﻿using System;
using System.Globalization;

namespace CountryFormatting
{
    class CountryFormatting
    {
        static void Main(string[] args)
        {
            string number = "123456,123456";
            double value;
            //value = Double.Parse(number, NumberStyles.AllowDecimalPoint, new CultureInfo("au-AU").NumberFormat);
            //Console.WriteLine("Austria - {0}", value);
            value = Double.Parse(number, NumberStyles.AllowDecimalPoint, new CultureInfo("bg-BG").NumberFormat);
            Console.WriteLine("Bulgaria - {0}", value);
            value = Double.Parse(number, NumberStyles.AllowDecimalPoint, new CultureInfo("is-IS").NumberFormat);
            Console.WriteLine("Israel - {0}", value);
            value = Double.Parse(number, NumberStyles.AllowDecimalPoint, new CultureInfo("mn-Cyrl").NumberFormat);
            Console.WriteLine("Mongolia - {0}", value);
            //value = Double.Parse(number, NumberStyles.AllowDecimalPoint, new CultureInfo("tw-TW").NumberFormat);
            //Console.WriteLine("Taiwan - {0}", value);
            //value = Double.Parse(number, NumberStyles.AllowDecimalPoint, new CultureInfo("jp-JP").NumberFormat);
            //Console.WriteLine("Japan - {0}", value);
        }
    }
}